const proxy = {
    '/api': {
        target: 'http://jsonplaceholder.typicode.com',
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, '')
    },
};

const define = {
    TARGET: JSON.stringify('111')
};

const viteChain = {
    proxy,
    define
}

module.exports = {
    viteChain
}